package com.ynet.hmds28.user.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PlatflowQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public PlatflowQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPlatflowidIsNull() {
            addCriterion("platFlowId is null");
            return (Criteria) this;
        }

        public Criteria andPlatflowidIsNotNull() {
            addCriterion("platFlowId is not null");
            return (Criteria) this;
        }

        public Criteria andPlatflowidEqualTo(String value) {
            addCriterion("platFlowId =", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidNotEqualTo(String value) {
            addCriterion("platFlowId <>", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidGreaterThan(String value) {
            addCriterion("platFlowId >", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidGreaterThanOrEqualTo(String value) {
            addCriterion("platFlowId >=", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidLessThan(String value) {
            addCriterion("platFlowId <", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidLessThanOrEqualTo(String value) {
            addCriterion("platFlowId <=", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidLike(String value) {
            addCriterion("platFlowId like", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidNotLike(String value) {
            addCriterion("platFlowId not like", value, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidIn(List<String> values) {
            addCriterion("platFlowId in", values, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidNotIn(List<String> values) {
            addCriterion("platFlowId not in", values, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidBetween(String value1, String value2) {
            addCriterion("platFlowId between", value1, value2, "platflowid");
            return (Criteria) this;
        }

        public Criteria andPlatflowidNotBetween(String value1, String value2) {
            addCriterion("platFlowId not between", value1, value2, "platflowid");
            return (Criteria) this;
        }

        public Criteria andCalltimeIsNull() {
            addCriterion("callTime is null");
            return (Criteria) this;
        }

        public Criteria andCalltimeIsNotNull() {
            addCriterion("callTime is not null");
            return (Criteria) this;
        }

        public Criteria andCalltimeEqualTo(Date value) {
            addCriterion("callTime =", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotEqualTo(Date value) {
            addCriterion("callTime <>", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeGreaterThan(Date value) {
            addCriterion("callTime >", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeGreaterThanOrEqualTo(Date value) {
            addCriterion("callTime >=", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeLessThan(Date value) {
            addCriterion("callTime <", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeLessThanOrEqualTo(Date value) {
            addCriterion("callTime <=", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeIn(List<Date> values) {
            addCriterion("callTime in", values, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotIn(List<Date> values) {
            addCriterion("callTime not in", values, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeBetween(Date value1, Date value2) {
            addCriterion("callTime between", value1, value2, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotBetween(Date value1, Date value2) {
            addCriterion("callTime not between", value1, value2, "calltime");
            return (Criteria) this;
        }

        public Criteria andImportmessageIsNull() {
            addCriterion("importMessage is null");
            return (Criteria) this;
        }

        public Criteria andImportmessageIsNotNull() {
            addCriterion("importMessage is not null");
            return (Criteria) this;
        }

        public Criteria andImportmessageEqualTo(String value) {
            addCriterion("importMessage =", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageNotEqualTo(String value) {
            addCriterion("importMessage <>", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageGreaterThan(String value) {
            addCriterion("importMessage >", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageGreaterThanOrEqualTo(String value) {
            addCriterion("importMessage >=", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageLessThan(String value) {
            addCriterion("importMessage <", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageLessThanOrEqualTo(String value) {
            addCriterion("importMessage <=", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageLike(String value) {
            addCriterion("importMessage like", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageNotLike(String value) {
            addCriterion("importMessage not like", value, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageIn(List<String> values) {
            addCriterion("importMessage in", values, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageNotIn(List<String> values) {
            addCriterion("importMessage not in", values, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageBetween(String value1, String value2) {
            addCriterion("importMessage between", value1, value2, "importmessage");
            return (Criteria) this;
        }

        public Criteria andImportmessageNotBetween(String value1, String value2) {
            addCriterion("importMessage not between", value1, value2, "importmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageIsNull() {
            addCriterion("exportMessage is null");
            return (Criteria) this;
        }

        public Criteria andExportmessageIsNotNull() {
            addCriterion("exportMessage is not null");
            return (Criteria) this;
        }

        public Criteria andExportmessageEqualTo(String value) {
            addCriterion("exportMessage =", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageNotEqualTo(String value) {
            addCriterion("exportMessage <>", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageGreaterThan(String value) {
            addCriterion("exportMessage >", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageGreaterThanOrEqualTo(String value) {
            addCriterion("exportMessage >=", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageLessThan(String value) {
            addCriterion("exportMessage <", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageLessThanOrEqualTo(String value) {
            addCriterion("exportMessage <=", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageLike(String value) {
            addCriterion("exportMessage like", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageNotLike(String value) {
            addCriterion("exportMessage not like", value, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageIn(List<String> values) {
            addCriterion("exportMessage in", values, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageNotIn(List<String> values) {
            addCriterion("exportMessage not in", values, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageBetween(String value1, String value2) {
            addCriterion("exportMessage between", value1, value2, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andExportmessageNotBetween(String value1, String value2) {
            addCriterion("exportMessage not between", value1, value2, "exportmessage");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridIsNull() {
            addCriterion("consumeUserId is null");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridIsNotNull() {
            addCriterion("consumeUserId is not null");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridEqualTo(String value) {
            addCriterion("consumeUserId =", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridNotEqualTo(String value) {
            addCriterion("consumeUserId <>", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridGreaterThan(String value) {
            addCriterion("consumeUserId >", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridGreaterThanOrEqualTo(String value) {
            addCriterion("consumeUserId >=", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridLessThan(String value) {
            addCriterion("consumeUserId <", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridLessThanOrEqualTo(String value) {
            addCriterion("consumeUserId <=", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridLike(String value) {
            addCriterion("consumeUserId like", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridNotLike(String value) {
            addCriterion("consumeUserId not like", value, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridIn(List<String> values) {
            addCriterion("consumeUserId in", values, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridNotIn(List<String> values) {
            addCriterion("consumeUserId not in", values, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridBetween(String value1, String value2) {
            addCriterion("consumeUserId between", value1, value2, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andConsumeuseridNotBetween(String value1, String value2) {
            addCriterion("consumeUserId not between", value1, value2, "consumeuserid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidIsNull() {
            addCriterion("serivceProvideId is null");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidIsNotNull() {
            addCriterion("serivceProvideId is not null");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidEqualTo(String value) {
            addCriterion("serivceProvideId =", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidNotEqualTo(String value) {
            addCriterion("serivceProvideId <>", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidGreaterThan(String value) {
            addCriterion("serivceProvideId >", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidGreaterThanOrEqualTo(String value) {
            addCriterion("serivceProvideId >=", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidLessThan(String value) {
            addCriterion("serivceProvideId <", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidLessThanOrEqualTo(String value) {
            addCriterion("serivceProvideId <=", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidLike(String value) {
            addCriterion("serivceProvideId like", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidNotLike(String value) {
            addCriterion("serivceProvideId not like", value, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidIn(List<String> values) {
            addCriterion("serivceProvideId in", values, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidNotIn(List<String> values) {
            addCriterion("serivceProvideId not in", values, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidBetween(String value1, String value2) {
            addCriterion("serivceProvideId between", value1, value2, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andSerivceprovideidNotBetween(String value1, String value2) {
            addCriterion("serivceProvideId not between", value1, value2, "serivceprovideid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridIsNull() {
            addCriterion("proviceUserId is null");
            return (Criteria) this;
        }

        public Criteria andProviceuseridIsNotNull() {
            addCriterion("proviceUserId is not null");
            return (Criteria) this;
        }

        public Criteria andProviceuseridEqualTo(String value) {
            addCriterion("proviceUserId =", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridNotEqualTo(String value) {
            addCriterion("proviceUserId <>", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridGreaterThan(String value) {
            addCriterion("proviceUserId >", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridGreaterThanOrEqualTo(String value) {
            addCriterion("proviceUserId >=", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridLessThan(String value) {
            addCriterion("proviceUserId <", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridLessThanOrEqualTo(String value) {
            addCriterion("proviceUserId <=", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridLike(String value) {
            addCriterion("proviceUserId like", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridNotLike(String value) {
            addCriterion("proviceUserId not like", value, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridIn(List<String> values) {
            addCriterion("proviceUserId in", values, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridNotIn(List<String> values) {
            addCriterion("proviceUserId not in", values, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridBetween(String value1, String value2) {
            addCriterion("proviceUserId between", value1, value2, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andProviceuseridNotBetween(String value1, String value2) {
            addCriterion("proviceUserId not between", value1, value2, "proviceuserid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidIsNull() {
            addCriterion("serviceConsumeId is null");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidIsNotNull() {
            addCriterion("serviceConsumeId is not null");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidEqualTo(String value) {
            addCriterion("serviceConsumeId =", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidNotEqualTo(String value) {
            addCriterion("serviceConsumeId <>", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidGreaterThan(String value) {
            addCriterion("serviceConsumeId >", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidGreaterThanOrEqualTo(String value) {
            addCriterion("serviceConsumeId >=", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidLessThan(String value) {
            addCriterion("serviceConsumeId <", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidLessThanOrEqualTo(String value) {
            addCriterion("serviceConsumeId <=", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidLike(String value) {
            addCriterion("serviceConsumeId like", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidNotLike(String value) {
            addCriterion("serviceConsumeId not like", value, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidIn(List<String> values) {
            addCriterion("serviceConsumeId in", values, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidNotIn(List<String> values) {
            addCriterion("serviceConsumeId not in", values, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidBetween(String value1, String value2) {
            addCriterion("serviceConsumeId between", value1, value2, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andServiceconsumeidNotBetween(String value1, String value2) {
            addCriterion("serviceConsumeId not between", value1, value2, "serviceconsumeid");
            return (Criteria) this;
        }

        public Criteria andMaketimeIsNull() {
            addCriterion("makeTime is null");
            return (Criteria) this;
        }

        public Criteria andMaketimeIsNotNull() {
            addCriterion("makeTime is not null");
            return (Criteria) this;
        }

        public Criteria andMaketimeEqualTo(String value) {
            addCriterion("makeTime =", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeNotEqualTo(String value) {
            addCriterion("makeTime <>", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeGreaterThan(String value) {
            addCriterion("makeTime >", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeGreaterThanOrEqualTo(String value) {
            addCriterion("makeTime >=", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeLessThan(String value) {
            addCriterion("makeTime <", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeLessThanOrEqualTo(String value) {
            addCriterion("makeTime <=", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeLike(String value) {
            addCriterion("makeTime like", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeNotLike(String value) {
            addCriterion("makeTime not like", value, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeIn(List<String> values) {
            addCriterion("makeTime in", values, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeNotIn(List<String> values) {
            addCriterion("makeTime not in", values, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeBetween(String value1, String value2) {
            addCriterion("makeTime between", value1, value2, "maketime");
            return (Criteria) this;
        }

        public Criteria andMaketimeNotBetween(String value1, String value2) {
            addCriterion("makeTime not between", value1, value2, "maketime");
            return (Criteria) this;
        }

        public Criteria andIssuccessIsNull() {
            addCriterion("isSuccess is null");
            return (Criteria) this;
        }

        public Criteria andIssuccessIsNotNull() {
            addCriterion("isSuccess is not null");
            return (Criteria) this;
        }

        public Criteria andIssuccessEqualTo(String value) {
            addCriterion("isSuccess =", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessNotEqualTo(String value) {
            addCriterion("isSuccess <>", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessGreaterThan(String value) {
            addCriterion("isSuccess >", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessGreaterThanOrEqualTo(String value) {
            addCriterion("isSuccess >=", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessLessThan(String value) {
            addCriterion("isSuccess <", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessLessThanOrEqualTo(String value) {
            addCriterion("isSuccess <=", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessLike(String value) {
            addCriterion("isSuccess like", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessNotLike(String value) {
            addCriterion("isSuccess not like", value, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessIn(List<String> values) {
            addCriterion("isSuccess in", values, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessNotIn(List<String> values) {
            addCriterion("isSuccess not in", values, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessBetween(String value1, String value2) {
            addCriterion("isSuccess between", value1, value2, "issuccess");
            return (Criteria) this;
        }

        public Criteria andIssuccessNotBetween(String value1, String value2) {
            addCriterion("isSuccess not between", value1, value2, "issuccess");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}